package cn.exrick.xboot.modules.member.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Ydp
 */
@Data
@Accessors(chain = true)
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "t_product_member_expenses_list")
@TableName("t_product_member_expenses_list")
@ApiModel(value = "产品会员消费记录表")
public class ProductMemberExpensesList extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "充值id")
    private String productRechargeId;


    @ApiModelProperty(value = "产品id")
    private String productId;

    @ApiModelProperty(value = "产品编号")
    private String productNo;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "使用金额")
    private Double useMoney;

    @ApiModelProperty(value = "使用数量")
    private int useNum;

    @ApiModelProperty(value = "会员id")
    private String memberId;

    @ApiModelProperty(value = "会员卡号")
    private String memberCardNo;

    @ApiModelProperty(value = "使用时间")
    private String useTime;

    @ApiModelProperty(value = "使用方式（网页/第三方）")
    private String useType;

    @ApiModelProperty(value = "教练")
    private String coach;



    @ApiModelProperty(value = "备注")
    private String remark;




}